package pkg;

public abstract class Container 
{
	String label;
	public Container(String c_label)
	{
		label = c_label;
	}
	
	public abstract String getLabel();
}

class Bowl extends Container
{
	public Bowl()
	{
		super("Bowl");
	}
	
	public String getLabel()
	{
		return label;
	}
}

abstract class Cone extends Container
{
	String cone_type;
	
	public Cone(String c_cone_type)
	{
		super("Cone");
		cone_type = c_cone_type;
	}
	
	public String getLabel()
	{
		return cone_type + " " + label;
	}
}

class Waffle_Cone extends Cone
{
	public Waffle_Cone()
	{
		super("Waffle");
	}
}

class Cake_Cone extends Cone
{
	public Cake_Cone()
	{
		super("Cake");
	}
}

class Sugar_Cone extends Cone
{
	public Sugar_Cone()
	{
		super("Sugar");
	}
}

